package com.aos.erp.manager.model.applyschool.ro;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 驾校信息表
 * </p>
 *
 * @author ywb
 * @since 2018-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_drivers_school")
public class LoginUserRo implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true, dataType = "String")
    @NotNull(message = "用户名不能为空")
    private String  username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true, dataType = "long")
    @NotNull(message = "密码不能为空")
    private String password;

}
